package com.liangxy.zhyl.service;

import com.liangxy.zhyl.base.PageResponse;
import com.liangxy.zhyl.dto.UserDto;
import com.liangxy.zhyl.vo.UserVo;

import java.util.List;

public interface UserService {
    PageResponse<UserVo> page(int pageNum, int pageSize, UserDto userDto);

    Boolean update(UserDto userDto);

    UserVo getCurrentUser();

    Boolean updateIsEnable(Long id, Integer status);

    List<UserVo> list(UserDto userDto);

    Boolean remove(Long userIds);

    Boolean resetPasswords(Long userId);

    Boolean add(UserDto userDto);
}
